<template>
  <div class="sroteFooter-wrap">
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/store">商家首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/store/list">全部分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/store/mine">商家中心</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: "SroteFooter",
  data(){
    return {
      active: '0',
      type:'',
    }
  },
  methods:{
    destroyElement(){
      console.log('销毁页面')
      this.$destroy(true);
      this.$el.parentNode.removeChild(this.$el);
    },
     
  }
};
</script>
<style scoped></style>
